<?php
/**
 * Created by PhpStorm.
 * User: shuixian
 * Date: 2019/11/20
 * Time: 18:29
 */
$menu = <<<MENU

[

{
    "path": "reduction/code",
    "name": "ReductionCode",
    "component": "/application/reduction/code",
    "meta": {
        "keepAlive": true,
        "title": "AppManage",
        "isOnly": false,
        "auth": [],
        "pagePermission": [{
                "title": "ReductionCode",
                "index": 0,
                "url": "/app/reduction/code",
                "auth": ["view", "add", "edit", "del", "outport"]
            }, 
            {
                "title": "ReductionPayRecord",
                "index": 0,
                "url": "/app/reduction/payRecord",
                "auth": ["view", "add", "edit", "del", "outport"]
            },
            {
                "title": "ReductionList",
                "index": 0,
                "url": "/app/reduction/list",
                "auth": ["view", "add", "edit", "del", "outport"]
            },
            {
                "title": "ReductionCashout",
                "index": 0,
                "url": "/app/reduction/cashout",
                "auth": ["view", "add", "edit", "del", "outport"]
            }, 
            {
                "title": "ReductionCommission",
                "index": 0,
                "url": "/app/reduction/commission",
                "auth": ["view", "add", "edit", "del", "outport"]
            }
        ]}
    },
    {
    "path": "reduction/payRecord",
    "name": "ReductionPayRecord",
    "component": "/application/reduction/payRecord",
    "meta": {
        "keepAlive": true,
        "title": "AppManage",
        "isOnly": false,
        "auth": [],
        "pagePermission": [{
            "title": "ReductionCode",
            "index": 0,
            "url": "/app/reduction/code",
            "auth": ["view", "add", "edit", "del", "outport"]
        }, 
        {
            "title": "ReductionPayRecord",
            "index": 0,
            "url": "/app/reduction/payRecord",
            "auth": ["view", "add", "edit", "del", "outport"]
        }, 
        {
            "title": "ReductionList",
            "index": 0,
            "url": "/app/reduction/list",
            "auth": ["view", "add", "edit", "del", "outport"]
        }, 
        {
            "title": "ReductionCashout",
            "index": 0,
            "url": "/app/reduction/cashout",
            "auth": ["view", "add", "edit", "del", "outport"]
        }, 
        {
            "title": "ReductionCommission",
            "index": 0,
            "url": "/app/reduction/commission",
            "auth": ["view", "add", "edit", "del", "outport"]
        }
        ]}
    },
    {
        "path": "reduction/list",
        "name": "ReductionList",
        "component": "/application/reduction/list",
        "meta": {
            "keepAlive": true,
            "title": "AppManage",
            "isOnly": false,
            "auth": [],
            "pagePermission": [{
                "title": "ReductionCode",
                "index": 0,
                "url": "/app/reduction/code",
                "auth": ["view", "add", "edit", "del", "outport"]
            }, 
            {
                "title": "ReductionPayRecord",
                "index": 0,
                "url": "/app/reduction/payRecord",
                "auth": ["view", "add", "edit", "del", "outport"]
            }, 
                {
                "title": "ReductionList",
                "index": 0,
                "url": "/app/reduction/list",
                "auth": ["view", "add", "edit", "del", "outport"]
            }, 
            {
                "title": "ReductionCashout",
                "index": 0,
                "url": "/app/reduction/cashout",
                "auth": ["view", "add", "edit", "del", "outport"]
            }, 
            {
                "title": "ReductionCommission",
                "index": 0,
                "url": "/app/reduction/commission",
                "auth": ["view", "add", "edit", "del", "outport"]
            }
        ]}
    },
    {
    "path": "reduction/cashout",
    "name": "ReductionCashout",
    "component": "/application/reduction/cashout",
        "meta": {
        "title": "AppManage",
        "isOnly": false,
        "auth": [],
        "pagePermission": [{
                "title": "ReductionCode",
                "index": 0,
                "url": "/app/reduction/code",
                "auth": ["view", "add", "edit", "del", "outport"]
            }, 
            {
                "title": "ReductionPayRecord",
                "index": 0,
                "url": "/app/reduction/payRecord",
                "auth": ["view", "add", "edit", "del", "outport"]
            },
            {
                "title": "ReductionList",
                "index": 0,
                "url": "/app/reduction/list",
                "auth": ["view", "add", "edit", "del", "outport"]
            }, 
            {
                "title": "ReductionCashout",
                "index": 0,
                "url": "/app/reduction/cashout",
                "auth": ["view", "add", "edit", "del", "outport"]
            }, 
            {
                "title": "ReductionCommission",
                "index": 0,
                "url": "/app/reduction/commission",
                "auth": ["view", "add", "edit", "del", "outport"]
            }]
        }
    },
    {
    "path": "reduction/commission",
    "name": "ReductionCommission",
    "component": "/application/reduction/commission",
    "meta": {
        "keepAlive": true,
        "title": "AppManage",
        "isOnly": false,
        "auth": [],
        "pagePermission": [{
                "title": "ReductionCode",
                "index": 0,
                "url": "/app/reduction/code",
                "auth": ["view", "add", "edit", "del", "outport"]
            }, 
            {
                "title": "ReductionPayRecord",
                "index": 0,
                "url": "/app/reduction/payRecord",
                "auth": ["view", "add", "edit", "del", "outport"]
            }, 
            {
                "title": "ReductionList",
                "index": 0,
                "url": "/app/reduction/list",
                "auth": ["view", "add", "edit", "del", "outport"]
            }, 
            {
                "title": "ReductionCashout",
                "index": 0,
                "url": "/app/reduction/cashout",
                "auth": ["view", "add", "edit", "del", "outport"]
            }, 
            {
                "title": "ReductionCommission",
                "index": 0,
                "url": "/app/reduction/commission",
                "auth": ["view", "add", "edit", "del", "outport"]
            }]
        }
    },
    {
    "path": "reduction/edit",
    "name": "ReductionEdit",
    "component": "/application/reduction/edit",
    "meta": {
        "title": "AppManage",
        "isOnly": false,
        "auth": [],
        "pagePermission": [{
            "title": "ReductionEdit",
            "index": 0,
            "url": "/app/reduction/edit",
            "auth": ["view", "add", "edit", "del", "outport"]
           }
        ]}
        },
        {
    "path": "reduction/record",
    "name": "ReductionRecord",
    "component": "/application/reduction/record",
    "meta": {
        "keepAlive": true,
        "title": "AppManage",
        "isOnly": false,
        "auth": [],
        "pagePermission": [{
            "title": "ReductionRecord",
            "index": 0,
            "url": "/app/reduction/record",
            "auth": ["view", "add", "edit", "del", "outport"]
            }
        ]}
    },
    {
    "path": "reduction/receive",
    "name": "ReductionReceive",
    "component": "/application/reduction/receive",
    "meta": {
        "keepAlive": true,
        "title": "AppManage",
        "isOnly": false,
        "auth": [],
        "pagePermission": [{
            "title": "ReductionReceive",
            "index": 0,
            "url": "/app/reduction/receive",
            "auth": ["view", "add", "edit", "del", "outport"]
            }
        ]}
    },
    {
    "path": "reduction/detail",
    "name": "ReductionDetail",
    "component": "/application/reduction/detail",
    "meta": {
        "keepAlive": true,
        "title": "AppManage",
        "isOnly": false,
        "auth": [],
        "pagePermission": [{
            "title": "ReductionDetail",
            "index": 0,
            "url": "/app/reduction/detail",
            "auth": ["view", "add", "edit", "del", "outport"]
        }]
    }
}

]
MENU;

return ["reduction" => $menu];


